mirror of
https://github.com/hashicorp/vault-action.git
synced 2026-05-06 01:04:23 +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 () => {
|
(async () => {
|
||||||
try {
|
try {
|
||||||
var caCertificate = Buffer.from(caCertificateRaw, 'base64').toString();
|
var caCertificate = Buffer.from(caCertificateRaw, 'base64').toString();
|
||||||
|
console.log('CA Certificate preview:', caCertificate.substring(0, 50))
|
||||||
if (caCertificate == null) {
|
if (caCertificate == null) {
|
||||||
throw Error("VAULTCA env not set.")
|
throw Error("VAULTCA env not set.")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue