mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
Add "name" and "description" params to service acc (#17172)
This commit is contained in:
committed by
GitHub
parent
ad2ab6eb3e
commit
9d96b18df0
@@ -108,7 +108,13 @@ type Credentials struct {
|
||||
ParentUser string `xml:"-" json:"parentUser,omitempty"`
|
||||
Groups []string `xml:"-" json:"groups,omitempty"`
|
||||
Claims map[string]interface{} `xml:"-" json:"claims,omitempty"`
|
||||
Comment string `xml:"-" json:"comment,omitempty"`
|
||||
Name string `xml:"-" json:"name,omitempty"`
|
||||
Description string `xml:"-" json:"description,omitempty"`
|
||||
|
||||
// Deprecated: In favor of Description - when reading credentials from
|
||||
// storage the value of this field is placed in the Description field above
|
||||
// if the existing Description from storage is empty.
|
||||
Comment string `xml:"-" json:"comment,omitempty"`
|
||||
}
|
||||
|
||||
func (cred Credentials) String() string {
|
||||
|
||||
Reference in New Issue
Block a user