File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,16 +50,16 @@ set +x
50
50
# Nexus credentials (they cannot use the _SECRET pattern since they are in-memory based)
51
51
# See https://docs.gradle.org/current/userguide/signing_plugin.html#sec:in-memory-keys
52
52
NEXUS_SECRET=kv/ci-shared/release-eng/team-release-secrets/apm/maven_central
53
- ORG_GRADLE_PROJECT_sonatypeUsername=$( vault read - field username $NEXUS_SECRET )
53
+ ORG_GRADLE_PROJECT_sonatypeUsername=$( vault kv get -- field= " username" $NEXUS_SECRET )
54
54
export ORG_GRADLE_PROJECT_sonatypeUsername
55
- ORG_GRADLE_PROJECT_sonatypePassword=$( vault read - field password $NEXUS_SECRET )
55
+ ORG_GRADLE_PROJECT_sonatypePassword=$( vault kv get -- field= " password" $NEXUS_SECRET )
56
56
export ORG_GRADLE_PROJECT_sonatypePassword
57
57
58
58
# Signing keys
59
59
GPG_SECRET=kv/data/ci-shared/release-eng/team-release-secrets/apm/gpg
60
60
vault read -field=" keyring" $GPG_SECRET | base64 -d > $KEY_FILE
61
61
# # NOTE: passphase is the name of the field.
62
- KEYPASS_SECRET=$( vault read -field=" passphase" $GPG_SECRET )
62
+ KEYPASS_SECRET=$( vault kv get - -field=" passphase" $GPG_SECRET )
63
63
export KEYPASS_SECRET
64
64
KEY_ID=$( vault kv get --field=" key_id" $GPG_SECRET )
65
65
KEY_ID_SECRET=${KEY_ID: -8}
You can’t perform that action at this time.
0 commit comments