Table of Contents
A User defines an entity which can authenticate to the Portal App. Users are members of Groups, which determines which ApiDocs they can see.
|username||string||The User’s username must be unique within the system.|
|string||The User’s email address.|
|basicAuth||UserSpec.BasicAuth||Authenticate the user with BasicAuth.|
|accessLevel||AccessLevel||The User’s access level. The user will have all the permissions granted in the access level, PLUS the permissions granted by the AccessLevels contained in the Groups to which this User belongs.|
Used for authenticating with basic auth
|passwordSecretName||string||Name of a BasicAuth secret in the cluster to use to authenticate the user. A BasicAuth secret contains the user password. This field is required.|
|passwordSecretNamespace||string||Namespace containing the named BasicAuth secret. If empty, defaults to the same namespace as the user.|
|passwordSecretKey||string||Name of the secret’s data key which contains the password. Defaults to “password” if not set.|
The current status of the User. It contains information about the Portals and API docs the user has access to.
|observedGeneration||int64||The observed generation of the User. When this matches the User’s metadata.generation, it indicates the status is up-to-date.|
|state||common.devportal.solo.io.State||The current state of the user|
|reason||string||A human-readable string explaining the error, if any.|
|hasLoggedIn||bool||Special status flag that indicates whether the user has logged in for the first time. Set by the Portal Web App.|
|observedLabels||UserStatus.ObservedLabelsEntry||repeated||The set of labels that are observed in the metadata.labels on the User. These labels are used to map Users to Groups by the Dev Portal controller.|