AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the AddUserPoolClientSecret operation. Creates a new client secret for an existing confidential user pool app client. Supports up to 2 active secrets per app client for zero-downtime credential rotation workflows.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.CognitoIdentityProvider.AmazonCognitoIdentityProviderRequest
      Amazon.CognitoIdentityProvider.Model.AddUserPoolClientSecretRequest

Namespace: Amazon.CognitoIdentityProvider.Model
Assembly: AWSSDK.CognitoIdentityProvider.dll
Version: 3.x.y.z

Syntax

C#
public class AddUserPoolClientSecretRequest : AmazonCognitoIdentityProviderRequest
         IAmazonWebServiceRequest

The AddUserPoolClientSecretRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property ClientId System.String

Gets and sets the property ClientId.

The ID of the app client for which you want to create a new secret.

Public Property ClientSecret System.String

Gets and sets the property ClientSecret.

The client secret value you want to use. If you don't provide this parameter, Amazon Cognito generates a secure secret for you.

Public Property UserPoolId System.String

Gets and sets the property UserPoolId.

The ID of the user pool that contains the app client.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5