We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug When using lookup for groups, vault doesn't enrich the group's alias with mount_path and mount_type
To Reproduce
#!/bin/bash export VAULT_ADDR=http://localhost:8200 export VAULT_TOKEN=devtoken function poison_pill { pkill -P $$ } function vault_up { vault server -dev -dev-root-token-id="$VAULT_TOKEN" & } trap poison_pill EXIT vault_up & set -e sleep 1 GROUP_ID=$(vault write -format=json identity/group type=external name=test-group | jq -r '.data.id' | tr -d '\n') vault auth enable ldap ACCESSOR=$(vault auth list -format=json | jq -r '.["ldap/"].accessor' | tr -d '\n') ALIAS_ID=$(vault write -format=json identity/group-alias name=test-alias canonical_id=$GROUP_ID mount_accessor=$ACCESSOR | jq -r '.data.id' | tr -d '\n') echo "--- LOOKUP GROUP NAME" vault write -format=json identity/lookup/group name=test-group | jq '.data.alias' echo "---------------------" echo "--- LOOKUP ALIAS NAME" vault write -format=json identity/lookup/group alias_name=test-alias alias_mount_accessor="$ACCESSOR" | jq '.data.alias' echo "---------------" echo "--- READ BY ID" vault read -format=json identity/group-alias/id/$ALIAS_ID | jq '.data' exit 1
Expected behavior They should be filled with the correct data
Environment:
Vault Server Version (retrieve with vault status): Vault v0.10.4 ('f9aa073c048d7f17f64258ab3eea0a530973000c+CHANGES')
vault status
Vault CLI Version (retrieve with vault version): Vault v0.10.4 ('f9aa073c048d7f17f64258ab3eea0a530973000c+CHANGES')
vault version
Server Operating System/Architecture: Linux
Vault server configuration file(s):
Dev mode
Additional context
The text was updated successfully, but these errors were encountered:
Review merged
Sorry, something went wrong.
No branches or pull requests
Describe the bug
When using lookup for groups, vault doesn't enrich the group's alias with mount_path and mount_type
To Reproduce
Expected behavior
They should be filled with the correct data
Environment:
Vault Server Version (retrieve with
vault status
): Vault v0.10.4 ('f9aa073c048d7f17f64258ab3eea0a530973000c+CHANGES')Vault CLI Version (retrieve with
vault version
): Vault v0.10.4 ('f9aa073c048d7f17f64258ab3eea0a530973000c+CHANGES')Server Operating System/Architecture: Linux
Vault server configuration file(s):
Dev mode
Additional context
The text was updated successfully, but these errors were encountered: