Skip to main content

user_ui_password_informations

Creates, updates, deletes, gets or lists a user_ui_password_informations resource.

Overview​

Nameuser_ui_password_informations
TypeResource
Idoci.identity.user_ui_password_informations

Fields​

The following fields are returned by SELECT queries:

The user UI password information was retrieved.

NameDatatypeDescription
lifecycleStatestringThe password's current state. After creating a password, make sure its lifecycleState changes from CREATING to ACTIVE before using it. (CREATING, ACTIVE, INACTIVE, DELETING, DELETED)
timeCreatedstring (date-time)Date and time the password was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
userIdstringThe OCID of the user.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectuserId, regionGets the specified user's console password information. The returned object contains the user's OCID,<br />but not the password itself. The actual password is returned only when created or reset.<br />

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringOCI region identifier (e.g. us-ashburn-1, ap-sydney-1); resolves from OCI_REGION when not supplied in the query. (default: us-ashburn-1, x-stackQL-envVar: OCI_REGION)
userIdstringThe OCID of the user.

SELECT examples​

Gets the specified user's console password information. The returned object contains the user's OCID,<br />but not the password itself. The actual password is returned only when created or reset.<br />

SELECT
lifecycleState,
timeCreated,
userId
FROM oci.identity.user_ui_password_informations
WHERE userId = '{{ userId }}' -- required
AND region = '{{ region }}' -- required
;