Example usage for com.amazonaws.services.codepipeline.model AWSSessionCredentials getSecretAccessKey

List of usage examples for com.amazonaws.services.codepipeline.model AWSSessionCredentials getSecretAccessKey

Introduction

In this page you can find the example usage for com.amazonaws.services.codepipeline.model AWSSessionCredentials getSecretAccessKey.

Prototype


public String getSecretAccessKey() 

Source Link

Document

The secret access key for the session.

Usage

From source file:jetbrains.buildServer.codepipeline.CodePipelineBuildListener.java

License:Apache License

@NotNull
private AmazonS3Client getArtifactS3Client(@NotNull AWSSessionCredentials artifactCredentials,
        @NotNull Map<String, String> params) {
    return AWSClients.fromBasicSessionCredentials(artifactCredentials.getAccessKeyId(),
            artifactCredentials.getSecretAccessKey(), artifactCredentials.getSessionToken(),
            AWSCommonParams.getRegionName(params)).createS3Client();
}