* Doc updates and API refactoring
* fix tests
* change metadata fieldtype to TypeKVPairs
* Give example for TypeKVPairs in CLI for metadata
* Update API docs examples to reflect the native expected value for TypeKVPairs
* Don't mention comma separation in the docs for TypeCommaStringSlice
* s/groups/group; s/entities/entity; s/entity-aliases/entity-alias; s/group-aliases/group-alias
* Address review feedback
* Fix formatting
* fix sidebar links
This is the API documentation for managing entity aliases in the identity store.
Create an Entity Alias
This endpoint creates a new alias for an entity.
Method
Path
Produces
POST
/identity/entity-alias
200 application/json
Parameters
name(string: <required>) - Name of the alias. Name should be the identifier
of the client in the authentication source. For example, if the alias belongs
to userpass backend, the name should be a valid username within userpass
backend. If alias belongs to GitHub, it should be the GitHub username.
id(string: <optional>) - ID of the entity alias. If set, updates the
corresponding entity alias.
canonical_id(string: <required>) - Entity ID to which this alias belongs to.
mount_accessor(string: <required>) - Accessor of the mount to which the
alias should belong to.
metadata(key-value-map: {})– Metadata to be associated with the
alias.
This endpoint is used to update an existing entity alias.
Method
Path
Produces
POST
/identity/entity-alias/id/:id
200 application/json
Parameters
id(string: <required>)– Identifier of the entity alias.
name(string: <required>) - Name of the alias. Name should be the identifier
of the client in the authentication source. For example, if the alias belongs
to userpass backend, the name should be a valid username within userpass
backend. If alias belongs to GitHub, it should be the GitHub username.
canonical_id(string: <required>) - Entity ID to which this alias belongs to.
mount_accessor(string: <required>) - Accessor of the mount to which the
alias should belong to.
metadata(key-value-map: {})– Metadata to be associated with the
alias. Format should be a list of key=value pairs.