roboll / helmfile

Deploy Kubernetes Helm Charts
MIT License
4.05k stars 566 forks source link

Error: no provider registered for scheme "awssec" #1264

Open Nuru opened 4 years ago

Nuru commented 4 years ago

Using helmfile version v0.116.0, neither of these work:

password: ref+awssec://password
token: {{ fetchSecretValue "ref+awssec://token" }}

Both return error like:

expand awssec://token: no provider registered for scheme "awssec"

If I use (undocumented) ref+awssecrets://password, I get

get parameter: ResourceNotFoundException: Secrets Manager can't find the specified secret.

despite being able to get it with aws secretsmanager get-secret-value --secret-id password


Update: The documentation is just wrong.

The documentation says:

The documentation should say:

johnmarcou commented 4 years ago

Will be closed by https://github.com/roboll/helmfile/pull/1332 Edit: was already working.

The actual path contains a triple slash, like this: ref+awssecrets:///password. The two firsts for the scheme, third one as the root of the secret path.