UserUser is the Schema for the Users API.
TypeMR
Providerprovider-mongodbatlas
Groupdatabase.mongodbatlas.m.crossplane.io
Scopenamespaced
Versionv1alpha3

1apiVersion: database.mongodbatlas.m.crossplane.io/v1alpha3

2kind: User

kind
string
metadata
object
spec
object

UserSpec defines the desired state of User

forProvider
required
object

(No description available)

labels
array

(No description available)

key
string
value
string
object

User's initial password. Password can be changed after creation using your preferred method, e.g. via the MongoDB Atlas UI, to ensure security. Password for the database user. When passwordSecretRef is set, that secret is used as the password (Bring Your Own Password). Otherwise, a password is auto-generated and written to the secret in writeConnectionSecretToRef.

key
required
string
name
required
string
projectId
string
object

Reference to a Project in mongodbatlas to populate projectId.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a Project in mongodbatlas to populate projectId.

namespace
string
policy
object

Policies for selection.

resolve
string
roles
array

List of user’s roles and the databases / collections on which the roles apply. A role allows the user to perform particular actions on the specified database. A role on the admin database can include privileges that apply to the other databases as well. See Roles below for more details.

scopes
array

(No description available)

name
string
type
string
username
string
x509Type
string
object

THIS IS A BETA FIELD. It will be honored unless the Management Policies feature flag is disabled. InitProvider holds the same fields as ForProvider, with the exception of Identifier and other resource reference fields. The fields that are in InitProvider are merged into ForProvider when the resource is created. The same fields are also added to the terraform ignore_changes hook, to avoid updating them after creation. This is useful for fields that are required on creation, but we do not desire to update them after creation, for example because of an external controller is managing them, like an autoscaler.

labels
array

(No description available)

key
string
value
string
object

User's initial password. Password can be changed after creation using your preferred method, e.g. via the MongoDB Atlas UI, to ensure security. Password for the database user. When passwordSecretRef is set, that secret is used as the password (Bring Your Own Password). Otherwise, a password is auto-generated and written to the secret in writeConnectionSecretToRef.

key
required
string
name
required
string
projectId
string
object

Reference to a Project in mongodbatlas to populate projectId.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a Project in mongodbatlas to populate projectId.

namespace
string
policy
object

Policies for selection.

resolve
string
roles
array

List of user’s roles and the databases / collections on which the roles apply. A role allows the user to perform particular actions on the specified database. A role on the admin database can include privileges that apply to the other databases as well. See Roles below for more details.

scopes
array

(No description available)

name
string
type
string
username
string
x509Type
string
array

THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md

object

ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.

kind
required
string
name
required
string
object

WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.

name
required
string
status
object

UserStatus defines the observed state of User.

object

(No description available)

id
string
labels
array

(No description available)

key
string
value
string
projectId
string
roles
array

List of user’s roles and the databases / collections on which the roles apply. A role allows the user to perform particular actions on the specified database. A role on the admin database can include privileges that apply to the other databases as well. See Roles below for more details.

scopes
array

(No description available)

name
string
type
string
username
string
x509Type
string
array

Conditions of the resource.

lastTransitionTime
required
string
message
string
reason
required
string
status
required
string
type
required
string