mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-29 06:31:10 +01:00
parent
cefe45d3e2
commit
2dcd0aed2a
@ -1,3 +1,11 @@
|
|||||||
|
## 1.0.2 (Unreleased)
|
||||||
|
|
||||||
|
CHANGES:
|
||||||
|
|
||||||
|
* secret/aws: Role now returns `credential_type` instead of `credential_types`
|
||||||
|
to match role input. If a legacy role that can supply more than one
|
||||||
|
credential type, they will be concatenated with a `,`.
|
||||||
|
|
||||||
## 1.0.1 (December 14th, 2018)
|
## 1.0.1 (December 14th, 2018)
|
||||||
|
|
||||||
SECURITY:
|
SECURITY:
|
||||||
|
|||||||
@ -429,7 +429,7 @@ type awsRoleEntry struct {
|
|||||||
|
|
||||||
func (r *awsRoleEntry) toResponseData() map[string]interface{} {
|
func (r *awsRoleEntry) toResponseData() map[string]interface{} {
|
||||||
respData := map[string]interface{}{
|
respData := map[string]interface{}{
|
||||||
"credential_types": r.CredentialTypes,
|
"credential_type": strings.Join(r.CredentialTypes, ","),
|
||||||
"policy_arns": r.PolicyArns,
|
"policy_arns": r.PolicyArns,
|
||||||
"role_arns": r.RoleArns,
|
"role_arns": r.RoleArns,
|
||||||
"policy_document": r.PolicyDocument,
|
"policy_document": r.PolicyDocument,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user