Java Code Examples for hudson.util.Secret#getEncryptedValue()

The following examples show how to use hudson.util.Secret#getEncryptedValue() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: LambdaUploadBuildStepVariables.java    From aws-lambda-jenkins-plugin with MIT License 6 votes vote down vote up
@Deprecated
public LambdaUploadBuildStepVariables(boolean useInstanceCredentials, String awsAccessKeyId, Secret awsSecretKey, String awsRegion, String artifactLocation, String description, String functionName, String handler, String memorySize, String role, String runtime, String timeout, String updateMode, boolean publish, String alias, boolean createAlias, String subnets, String securityGroups) {
    this.useInstanceCredentials = useInstanceCredentials;
    this.awsAccessKeyId = awsAccessKeyId;
    this.awsSecretKey = awsSecretKey != null ? awsSecretKey.getEncryptedValue() : null;
    this.awsRegion = awsRegion;
    this.artifactLocation = artifactLocation;
    this.description = description;
    this.functionName = functionName;
    this.handler = handler;
    this.memorySize = memorySize;
    this.role = role;
    this.runtime = runtime;
    this.timeout = timeout;
    this.updateMode = updateMode;
    this.publish = publish;
    this.alias = alias;
    this.createAlias = createAlias;
    this.subnets = subnets;
    this.securityGroups = securityGroups;
}
 
Example 2
Source File: LambdaUploadVariables.java    From aws-lambda-jenkins-plugin with MIT License 6 votes vote down vote up
@Deprecated
public LambdaUploadVariables(boolean useInstanceCredentials, String awsAccessKeyId, Secret awsSecretKey, String awsRegion, String artifactLocation, String description, String functionName, String handler, String memorySize, String role, String runtime, String timeout, boolean successOnly, boolean publish, String updateMode, String alias, boolean createAlias, String subnets, String securityGroups) {
    this.useInstanceCredentials = useInstanceCredentials;
    this.awsAccessKeyId = awsAccessKeyId;
    this.awsSecretKey = awsSecretKey != null ? awsSecretKey.getEncryptedValue() : null;
    this.awsRegion = awsRegion;
    this.artifactLocation = artifactLocation;
    this.description = description;
    this.functionName = functionName;
    this.handler = handler;
    this.memorySize = memorySize;
    this.role = role;
    this.runtime = runtime;
    this.timeout = timeout;
    this.successOnly = successOnly;
    this.publish = publish;
    this.updateMode = updateMode;
    this.alias = alias;
    this.createAlias = createAlias;
    this.subnets = subnets;
    this.securityGroups = securityGroups;
}
 
Example 3
Source File: LambdaPublishVariables.java    From aws-lambda-jenkins-plugin with MIT License 5 votes vote down vote up
@Deprecated
public LambdaPublishVariables(boolean useInstanceCredentials, String awsAccessKeyId, Secret awsSecretKey, String awsRegion, String functionARN, String functionAlias, String versionDescription
) {
    this.useInstanceCredentials = useInstanceCredentials;
    this.awsAccessKeyId = awsAccessKeyId;
    this.awsSecretKey = awsSecretKey != null ? awsSecretKey.getEncryptedValue() : null;
    this.awsRegion = awsRegion;
    this.functionARN = functionARN;
    this.functionAlias = functionAlias;
    this.versionDescription = versionDescription;
}
 
Example 4
Source File: LambdaPublishBuildStepVariables.java    From aws-lambda-jenkins-plugin with MIT License 5 votes vote down vote up
@Deprecated
public LambdaPublishBuildStepVariables(boolean useInstanceCredentials, String awsAccessKeyId, Secret awsSecretKey, String awsRegion, String functionARN, String functionAlias, String versionDescription) {
    this.useInstanceCredentials = useInstanceCredentials;
    this.awsAccessKeyId = awsAccessKeyId;
    this.awsSecretKey = awsSecretKey != null ? awsSecretKey.getEncryptedValue() : null;
    this.awsRegion = awsRegion;
    this.functionARN = functionARN;
    this.functionAlias = functionAlias;
    this.versionDescription = versionDescription;
}
 
Example 5
Source File: LambdaInvokeVariables.java    From aws-lambda-jenkins-plugin with MIT License 5 votes vote down vote up
@Deprecated
public LambdaInvokeVariables(boolean useInstanceCredentials, String awsAccessKeyId, Secret awsSecretKey, String awsRegion, String functionName, String payload, boolean synchronous, boolean successOnly, List<JsonParameterVariables> jsonParameters) {
    this.useInstanceCredentials = useInstanceCredentials;
    this.awsAccessKeyId = awsAccessKeyId;
    this.awsSecretKey = awsSecretKey != null ? awsSecretKey.getEncryptedValue() : null;
    this.awsRegion = awsRegion;
    this.functionName = functionName;
    this.payload = payload;
    this.synchronous = synchronous;
    this.successOnly = successOnly;
    this.jsonParameters = jsonParameters;
}
 
Example 6
Source File: LambdaInvokeBuildStepVariables.java    From aws-lambda-jenkins-plugin with MIT License 5 votes vote down vote up
@Deprecated
public LambdaInvokeBuildStepVariables(boolean useInstanceCredentials, String awsAccessKeyId, Secret awsSecretKey, String awsRegion, String functionName, String payload, boolean synchronous, List<JsonParameterVariables> jsonParameters) {
    this.useInstanceCredentials = useInstanceCredentials;
    this.awsAccessKeyId = awsAccessKeyId;
    this.awsSecretKey = awsSecretKey != null ? awsSecretKey.getEncryptedValue() : null;
    this.awsRegion = awsRegion;
    this.functionName = functionName;
    this.payload = payload;
    this.synchronous = synchronous;
    this.jsonParameters = jsonParameters;
}
 
Example 7
Source File: LambdaEventSourceVariables.java    From aws-lambda-jenkins-plugin with MIT License 5 votes vote down vote up
@Deprecated
public LambdaEventSourceVariables(boolean useInstanceCredentials, String awsAccessKeyId, Secret awsSecretKey, String awsRegion, String functionName, String functionAlias, String eventSourceArn, boolean successOnly) {
    this.useInstanceCredentials = useInstanceCredentials;
    this.awsAccessKeyId = awsAccessKeyId;
    this.awsSecretKey = awsSecretKey != null ? awsSecretKey.getEncryptedValue() : null;
    this.awsRegion = awsRegion;
    this.functionName = functionName;
    this.functionAlias = functionAlias;
    this.eventSourceArn = eventSourceArn;
    this.successOnly = successOnly;
}
 
Example 8
Source File: LambdaEventSourceBuildStepVariables.java    From aws-lambda-jenkins-plugin with MIT License 5 votes vote down vote up
@Deprecated
public LambdaEventSourceBuildStepVariables(boolean useInstanceCredentials, String awsAccessKeyId, Secret awsSecretKey, String awsRegion, String functionName, String functionAlias, String eventSourceArn) {
    this.useInstanceCredentials = useInstanceCredentials;
    this.awsAccessKeyId = awsAccessKeyId;
    this.awsSecretKey = awsSecretKey != null ? awsSecretKey.getEncryptedValue() : null;
    this.awsRegion = awsRegion;
    this.functionName = functionName;
    this.functionAlias = functionAlias;
    this.eventSourceArn = eventSourceArn;
}