Tabnine Logo
AwsProvider.getSecretAccessKey
Code IndexAdd Tabnine to your IDE (free)

How to use
getSecretAccessKey
method
in
com.netflix.spinnaker.halyard.config.model.v1.providers.aws.AwsProvider

Best Java code snippets using com.netflix.spinnaker.halyard.config.model.v1.providers.aws.AwsProvider.getSecretAccessKey (Showing top 4 results out of 315)

origin: spinnaker/halyard

protected Optional<Profile> generateAwsProfile(DeploymentConfiguration deploymentConfiguration, SpinnakerRuntimeSettings endpoints, String spinnakerHome) {
 String name = "aws/clouddriver-credentials" + spinnakerHome.replace("/", "_");
 AwsProvider awsProvider = deploymentConfiguration.getProviders().getAws();
 if (awsProvider.isEnabled()
   && !StringUtils.isEmpty(awsProvider.getAccessKeyId())
   && !StringUtils.isEmpty(awsProvider.getSecretAccessKey())) {
  String outputFile = awsCredentialsProfileFactoryBuilder.getOutputFile(spinnakerHome);
  return Optional.of(awsCredentialsProfileFactoryBuilder
    .setArtifact(SpinnakerArtifact.CLOUDDRIVER)
    .setAccessKeyId(awsProvider.getAccessKeyId())
    .setSecretAccessKey(awsProvider.getSecretAccessKey())
    .build()
    .getProfile(name, outputFile, deploymentConfiguration, endpoints));
 } else {
  return Optional.empty();
 }
}
origin: com.netflix.spinnaker.halyard/halyard-deploy

protected Optional<Profile> generateAwsProfile(DeploymentConfiguration deploymentConfiguration, SpinnakerRuntimeSettings endpoints, String spinnakerHome) {
 String name = "aws/clouddriver-credentials" + spinnakerHome.replace("/", "_");
 AwsProvider awsProvider = deploymentConfiguration.getProviders().getAws();
 if (awsProvider.isEnabled()
   && !StringUtils.isEmpty(awsProvider.getAccessKeyId())
   && !StringUtils.isEmpty(awsProvider.getSecretAccessKey())) {
  String outputFile = awsCredentialsProfileFactoryBuilder.getOutputFile(spinnakerHome);
  return Optional.of(awsCredentialsProfileFactoryBuilder
    .setArtifact(SpinnakerArtifact.CLOUDDRIVER)
    .setAccessKeyId(awsProvider.getAccessKeyId())
    .setSecretAccessKey(awsProvider.getSecretAccessKey())
    .build()
    .getProfile(name, outputFile, deploymentConfiguration, endpoints));
 } else {
  return Optional.empty();
 }
}
origin: spinnaker/halyard

 @Override
 protected Provider editProvider(AwsProvider provider) {
  provider.setAccessKeyId(isSet(accessKeyId) ? accessKeyId : provider.getAccessKeyId());
  provider.setSecretAccessKey(isSet(secretAccessKey) ? secretAccessKey : provider.getSecretAccessKey());
  return provider;
 }
}
origin: com.netflix.spinnaker.halyard/halyard-cli

 @Override
 protected Provider editProvider(AwsProvider provider) {
  provider.setAccessKeyId(isSet(accessKeyId) ? accessKeyId : provider.getAccessKeyId());
  provider.setSecretAccessKey(isSet(secretAccessKey) ? secretAccessKey : provider.getSecretAccessKey());
  return provider;
 }
}
com.netflix.spinnaker.halyard.config.model.v1.providers.awsAwsProvidergetSecretAccessKey

Popular methods of AwsProvider

  • getAccessKeyId
  • getPrimaryAccount
  • isEnabled
  • setAccessKeyId
  • setSecretAccessKey

Popular in Java

  • Updating database using SQL prepared statement
  • getSharedPreferences (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • requestLocationUpdates (LocationManager)
  • Kernel (java.awt.image)
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • JTable (javax.swing)
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now