Package com.onepassword.jenkins.plugins
Class OnePasswordAccessor
java.lang.Object
com.onepassword.jenkins.plugins.OnePasswordAccessor
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioninit()
static boolean
isOPReference
(String ref) loadSecrets
(Run<?, ?> run, PrintStream logger, EnvVars envVars, OnePasswordConfig initialConfig, List<OnePasswordSecret> secrets) static OnePasswordConfig
pullAndMergeConfig
(Run<?, ?> build, OnePasswordConfig buildConfig, EnvVars envVars) static OnePasswordConfig
resolveConfigFromEnv
(Run<?, ?> build, EnvVars envVars) static org.jenkinsci.plugins.plaincredentials.StringCredentials
retrieveCredentials
(Run build, Supplier<String> function) retrieveSecrets
(Run<?, ?> run, PrintStream logger, EnvVars envVars, OnePasswordConfig initialConfig, List<OnePasswordSecret> secrets) void
setConfig
(OnePasswordConfig config)
-
Constructor Details
-
OnePasswordAccessor
public OnePasswordAccessor() -
OnePasswordAccessor
-
-
Method Details
-
init
-
getConfig
-
setConfig
-
retrieveSecrets
public static Map<String,String> retrieveSecrets(Run<?, ?> run, PrintStream logger, EnvVars envVars, OnePasswordConfig initialConfig, List<OnePasswordSecret> secrets) -
loadSecrets
public static Map<String,String> loadSecrets(Run<?, ?> run, PrintStream logger, EnvVars envVars, OnePasswordConfig initialConfig, List<OnePasswordSecret> secrets) -
retrieveCredentials
-
pullAndMergeConfig
public static OnePasswordConfig pullAndMergeConfig(Run<?, ?> build, OnePasswordConfig buildConfig, EnvVars envVars) -
resolveConfigFromEnv
-
isOPReference
-