You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Trying to use identity template for ssh cert signing to limit principals as per #7548 but am getting an error that template cannot be rendered.
vault write \
-field=signed_key ssh-client-signer/sign/adminsign \
valid_principals="usera" \
public_key=@$HOME/.ssh/id_rsa.pub > ~/.ssh/id_rsa-cert.pub
Error writing data to ssh-client-signer/sign/adminsign: Error making API request.
URL: PUT https://alphaeast.keeper.test.com/v1/ssh-client-signer/sign/adminsign
Code: 400. Errors:
* template '{{identity.entity.aliases.auth_oidc_918c7b53.name}}' could not be rendered -> alias not found
Expected behavior
Expectation is that I am able to sign the certificate with only the OIDC logged in user, otherwise have an error thrown.
Environment:
Vault Server Version: 1.5.4+prem.hsm
Vault CLI Version: Vault v1.5.0
Server Operating System/Architecture: macos, centos7
Describe the bug
Trying to use identity template for ssh cert signing to limit principals as per #7548 but am getting an error that template cannot be rendered.
To Reproduce
Steps to reproduce the behavior:
1.
Expected behavior
Expectation is that I am able to sign the certificate with only the OIDC logged in user, otherwise have an error thrown.
Environment:
1.5.4+prem.hsm
Vault v1.5.0
Additional context
Identity Alias seems correct:
The text was updated successfully, but these errors were encountered: