mirror of
https://github.com/hashicorp/vault-action.git
synced 2026-03-29 06:06:53 +00:00
fix: adiciona logs para caCertificate
This commit is contained in:
parent
2390ea6bed
commit
6438637277
1 changed files with 1 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ const clientKeyRaw = `${process.env.VAULT_CLIENT_KEY}`;
|
|||
(async () => {
|
||||
try {
|
||||
var caCertificate = Buffer.from(caCertificateRaw, 'base64').toString();
|
||||
console.log('CA Certificate preview:', caCertificate.substring(0, 50))
|
||||
if (caCertificate == null) {
|
||||
throw Error("VAULTCA env not set.")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue