mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Fix issue with missing token on secrets set command CLI
This commit is contained in:
@@ -694,7 +694,7 @@ func SetRawSecrets(secretArgs []string, secretType string, environmentName strin
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("unable to get client with custom headers [err=%v]", err)
|
return nil, fmt.Errorf("unable to get client with custom headers [err=%v]", err)
|
||||||
}
|
}
|
||||||
|
httpClient.SetAuthToken(tokenDetails.Token)
|
||||||
httpClient.SetHeader("Accept", "application/json")
|
httpClient.SetHeader("Accept", "application/json")
|
||||||
|
|
||||||
// pull current secrets
|
// pull current secrets
|
||||||
|
|||||||
Reference in New Issue
Block a user