Class SSOImmutableCredentials
Immutable representation of AWS credentials obtained as a result of authenticating through AWS SSO.
public class SSOImmutableCredentials : ImmutableCredentials
- Inheritance
-
SSOImmutableCredentials
- Inherited Members
Constructors
SSOImmutableCredentials(string, string, string, DateTime)
Constructs an instance with supplied keys, token, and expiration.
public SSOImmutableCredentials(string awsAccessKeyId, string awsSecretAccessKey, string token, DateTime expiration)
Parameters
awsAccessKeyId
stringThe AccessKey for the credentials.
awsSecretAccessKey
stringThe SecretKey for the credentials.
token
stringThe security token for the credentials.
expiration
DateTimeThe expiration time for the credentials.
Properties
Expiration
The expiry time of the credentials, obtained from the AWS SSO service.
public DateTime Expiration { get; }
Property Value
Methods
Copy()
Get a copy of this SSOImmutableCredentials object.
public SSOImmutableCredentials Copy()
Returns
- SSOImmutableCredentials
A copy of this object.
Equals(object)
public override bool Equals(object obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()