More ci fiddling

This commit is contained in:
Kris De Volder
2022-04-21 11:06:04 -07:00
parent 30d93f2d8b
commit 1dc2dbf24c
2 changed files with 18 additions and 1 deletions

View File

@@ -6,4 +6,20 @@ https://vault.spring.vmware.com:8200/
Requires VPN access. Login using VMWAre / LDAP creds.
Note that if you put a secret in, you have to puts its
value in the right box and put the word `value` in the
left box.
I.e. vault is forcing you to enter a secret as a json
object. But since we typically just want it to be
a single string, you have to enter it like so:
```
{
"value" : "the-real-value-you-want"
}
```
See also the `put-secret-in-vaulr.sh` script for an
example of how to use vault CLI instead.cat

3
concourse/put-secret-in-vault.sh Normal file → Executable file
View File

@@ -1,2 +1,3 @@
#!/bin/bash
vault kv put concourse/tools/vsce_token value=something
export VAULT_ADDR=https://vault.spring.vmware.com:8200
vault kv put concourse/tools/vsce_token value=${vsce_token}