Codota Logo
AppengineAccount.getSshPrivateKeyPassphrase
Code IndexAdd Codota to your IDE (free)

How to use
getSshPrivateKeyPassphrase
method
in
com.netflix.spinnaker.halyard.config.model.v1.providers.appengine.AppengineAccount

Best Java code snippets using com.netflix.spinnaker.halyard.config.model.v1.providers.appengine.AppengineAccount.getSshPrivateKeyPassphrase (Showing top 4 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
BufferedReader b =
  • Codota IconInputStream in;new BufferedReader(new InputStreamReader(in))
  • Codota IconReader in;new BufferedReader(in)
  • Codota IconFile file;new BufferedReader(new FileReader(file))
  • Smart code suggestions by Codota
}
origin: spinnaker/halyard

boolean hasSshPrivateKeyPassphrase = account.getSshPrivateKeyPassphrase() != null;
boolean hasSshPrivateKeyFilePath = account.getSshPrivateKeyFilePath() != null && !account.getSshPrivateKeyFilePath().isEmpty();
if (hasSshPrivateKeyPassphrase != hasSshPrivateKeyFilePath) {
   boolean decrypted = keyPair.decrypt(account.getSshPrivateKeyPassphrase());
   if (!decrypted) {
    p.addProblem(Severity.ERROR, "Could not unlock SSH public/private keypair with supplied passphrase.");
origin: com.netflix.spinnaker.halyard/halyard-config

boolean hasSshPrivateKeyPassphrase = account.getSshPrivateKeyPassphrase() != null;
boolean hasSshPrivateKeyFilePath = account.getSshPrivateKeyFilePath() != null && !account.getSshPrivateKeyFilePath().isEmpty();
if (hasSshPrivateKeyPassphrase != hasSshPrivateKeyFilePath) {
   boolean decrypted = keyPair.decrypt(account.getSshPrivateKeyPassphrase());
   if (!decrypted) {
    p.addProblem(Severity.ERROR, "Could not unlock SSH public/private keypair with supplied passphrase.");
origin: com.netflix.spinnaker.halyard/halyard-cli

 @Override
 protected Account editAccount(AppengineAccount account) {
  account.setJsonPath(isSet(jsonPath) ? jsonPath : account.getJsonPath());
  account.setProject(isSet(project) ? project : account.getProject());
  account.setLocalRepositoryDirectory(isSet(localRepositoryDirectory) ? localRepositoryDirectory : account.getLocalRepositoryDirectory());
  account.setGitHttpsUsername(isSet(gitHttpsUsername) ? gitHttpsUsername : account.getGitHttpsUsername());
  account.setGitHttpsPassword(isSet(gitHttpsPassword) ? gitHttpsPassword : account.getGitHttpsPassword());
  account.setGithubOAuthAccessToken(isSet(githubOAuthAccessToken) ? githubOAuthAccessToken : account.getGithubOAuthAccessToken());
  account.setSshPrivateKeyFilePath(isSet(sshPrivateKeyFilePath) ? sshPrivateKeyFilePath: account.getSshPrivateKeyFilePath());
  account.setSshPrivateKeyPassphrase(isSet(sshPrivateKeyPassphrase) ? sshPrivateKeyPassphrase: account.getSshPrivateKeyPassphrase());
  account.setSshKnownHostsFilePath(isSet(sshKnownHostsFilePath) ? sshKnownHostsFilePath : account.getSshKnownHostsFilePath());
  account.setSshTrustUnknownHosts(sshTrustUnknownHosts != null ? sshTrustUnknownHosts : account.isSshTrustUnknownHosts());
  account.setGcloudReleaseTrack(gcloudReleaseTrack != null ? gcloudReleaseTrack : account.getGcloudReleaseTrack());
  
  return account;
 }
}
origin: spinnaker/halyard

 @Override
 protected Account editAccount(AppengineAccount account) {
  account.setJsonPath(isSet(jsonPath) ? jsonPath : account.getJsonPath());
  account.setProject(isSet(project) ? project : account.getProject());
  account.setLocalRepositoryDirectory(isSet(localRepositoryDirectory) ? localRepositoryDirectory : account.getLocalRepositoryDirectory());
  account.setGitHttpsUsername(isSet(gitHttpsUsername) ? gitHttpsUsername : account.getGitHttpsUsername());
  account.setGitHttpsPassword(isSet(gitHttpsPassword) ? gitHttpsPassword : account.getGitHttpsPassword());
  account.setGithubOAuthAccessToken(isSet(githubOAuthAccessToken) ? githubOAuthAccessToken : account.getGithubOAuthAccessToken());
  account.setSshPrivateKeyFilePath(isSet(sshPrivateKeyFilePath) ? sshPrivateKeyFilePath: account.getSshPrivateKeyFilePath());
  account.setSshPrivateKeyPassphrase(isSet(sshPrivateKeyPassphrase) ? sshPrivateKeyPassphrase: account.getSshPrivateKeyPassphrase());
  account.setSshKnownHostsFilePath(isSet(sshKnownHostsFilePath) ? sshKnownHostsFilePath : account.getSshKnownHostsFilePath());
  account.setSshTrustUnknownHosts(sshTrustUnknownHosts != null ? sshTrustUnknownHosts : account.isSshTrustUnknownHosts());
  account.setGcloudReleaseTrack(gcloudReleaseTrack != null ? gcloudReleaseTrack : account.getGcloudReleaseTrack());
  account.setServices(services != null ? services : account.getServices());
  account.setVersions(versions != null ? versions : account.getVersions());
  account.setOmitServices(omitServices != null ? omitServices : account.getOmitServices());
  account.setOmitVersions(omitVersions != null ? omitVersions : account.getOmitVersions());
  
  return account;
 }
}
com.netflix.spinnaker.halyard.config.model.v1.providers.appengineAppengineAccountgetSshPrivateKeyPassphrase

Popular methods of AppengineAccount

  • getGitHttpsPassword
  • getGitHttpsUsername
  • getJsonPath
  • getProject
  • getSshKnownHostsFilePath
  • getSshPrivateKeyFilePath
  • isSshTrustUnknownHosts
  • <init>
  • getGcloudReleaseTrack
  • getGithubOAuthAccessToken
  • getLocalRepositoryDirectory
  • setGcloudReleaseTrack
  • getLocalRepositoryDirectory,
  • setGcloudReleaseTrack,
  • setGitHttpsPassword,
  • setGitHttpsUsername,
  • setGithubOAuthAccessToken,
  • setJsonPath,
  • setLocalRepositoryDirectory,
  • setName,
  • setProject

Popular in Java

  • Reading from database using SQL prepared statement
  • setContentView (Activity)
  • getContentResolver (Context)
  • getApplicationContext (Context)
  • String (java.lang)
  • BigInteger (java.math)
    Immutable arbitrary-precision integers. All operations behave as if BigIntegers were represented in
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • ResourceBundle (java.util)
    Resource bundles contain locale-specific objects. When your program needs a locale-specific resource
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • JLabel (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now