Show / Hide Table of Contents

Class CustomerSecretKey

A CustomerSecretKey is an Oracle-provided key for using the Object Storage Service's Amazon S3 compatible API. The key consists of a secret key/access key pair. A user can have up to two secret keys at a time.
Note: The secret key is always an Oracle-generated string; you can't change it to a string of your choice.
For more information, see Managing User Credentials.

Inheritance
System.Object
CustomerSecretKey
Namespace: Oci.IdentityService.Models
Assembly: OCI.DotNetSDK.Identity.dll
Syntax
public class CustomerSecretKey : object

Properties

DisplayName

Declaration
public string DisplayName { get; set; }
Property Value
Type Description
System.String

The display name you assign to the secret key. Does not have to be unique, and it's changeable.

Id

Declaration
public string Id { get; set; }
Property Value
Type Description
System.String

The access key portion of the key pair.

InactiveStatus

Declaration
public System.Nullable<long> InactiveStatus { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>

The detailed status of INACTIVE lifecycleState.

Key

Declaration
public string Key { get; set; }
Property Value
Type Description
System.String

The secret key.

LifecycleState

Declaration
public System.Nullable<CustomerSecretKey.LifecycleStateEnum> LifecycleState { get; set; }
Property Value
Type Description
System.Nullable<CustomerSecretKey.LifecycleStateEnum>

The secret key's current state. After creating a secret key, make sure its lifecycleState changes from CREATING to ACTIVE before using it.

TimeCreated

Declaration
public System.Nullable<System.DateTime> TimeCreated { get; set; }
Property Value
Type Description
System.Nullable<System.DateTime>

Date and time the CustomerSecretKey object was created, in the format defined by RFC3339.
Example: 2016-08-25T21:10:29.600Z

TimeExpires

Declaration
public System.Nullable<System.DateTime> TimeExpires { get; set; }
Property Value
Type Description
System.Nullable<System.DateTime>

Date and time when this password will expire, in the format defined by RFC3339. Null if it never expires.
Example: 2016-08-25T21:10:29.600Z

UserId

Declaration
public string UserId { get; set; }
Property Value
Type Description
System.String

The OCID of the user the password belongs to.

In This Article
Back to top