# IAM Service Account Credentials v1 API - Class IAMCredentialsClientImpl (2.5.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.5.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClientImpl)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/2.4.0/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClientImpl)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/2.3.0/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClientImpl)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/2.2.0/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClientImpl)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/2.1.0/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClientImpl)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/2.0.0/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClientImpl)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/1.2.0/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClientImpl)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/1.1.0/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClientImpl)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/1.0.0/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClientImpl)

    public sealed class IAMCredentialsClientImpl : IAMCredentialsClient

Reference documentation and code samples for the IAM Service Account Credentials v1 API class IAMCredentialsClientImpl.

IAMCredentials client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [IAMCredentialsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient) \> IAMCredentialsClientImpl

## Inherited Members

[IAMCredentialsClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_DefaultEndpoint) [IAMCredentialsClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_DefaultScopes) [IAMCredentialsClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_ServiceMetadata) [IAMCredentialsClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_CreateAsync_System_Threading_CancellationToken_) [IAMCredentialsClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_Create) [IAMCredentialsClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_ShutdownDefaultChannelsAsync) [IAMCredentialsClient.GenerateAccessTokenAsync(GenerateAccessTokenRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_GenerateAccessTokenAsync_Google_Cloud_Iam_Credentials_V1_GenerateAccessTokenRequest_System_Threading_CancellationToken_) [IAMCredentialsClient.GenerateAccessToken(string, IEnumerable\<string\>, IEnumerable\<string\>, Duration, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_GenerateAccessToken_System_String_System_Collections_Generic_IEnumerable_System_String__System_Collections_Generic_IEnumerable_System_String__Google_Protobuf_WellKnownTypes_Duration_Google_Api_Gax_Grpc_CallSettings_) [IAMCredentialsClient.GenerateAccessTokenAsync(string, IEnumerable\<string\>, IEnumerable\<string\>, Duration, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_GenerateAccessTokenAsync_System_String_System_Collections_Generic_IEnumerable_System_String__System_Collections_Generic_IEnumerable_System_String__Google_Protobuf_WellKnownTypes_Duration_Google_Api_Gax_Grpc_CallSettings_) [IAMCredentialsClient.GenerateAccessTokenAsync(string, IEnumerable\<string\>, IEnumerable\<string\>, Duration, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_GenerateAccessTokenAsync_System_String_System_Collections_Generic_IEnumerable_System_String__System_Collections_Generic_IEnumerable_System_String__Google_Protobuf_WellKnownTypes_Duration_System_Threading_CancellationToken_) [IAMCredentialsClient.GenerateAccessToken(ServiceAccountName, IEnumerable\<string\>, IEnumerable\<string\>, Duration, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_GenerateAccessToken_Google_Cloud_Iam_Credentials_V1_ServiceAccountName_System_Collections_Generic_IEnumerable_System_String__System_Collections_Generic_IEnumerable_System_String__Google_Protobuf_WellKnownTypes_Duration_Google_Api_Gax_Grpc_CallSettings_) [IAMCredentialsClient.GenerateAccessTokenAsync(ServiceAccountName, IEnumerable\<string\>, IEnumerable\<string\>, Duration, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_GenerateAccessTokenAsync_Google_Cloud_Iam_Credentials_V1_ServiceAccountName_System_Collections_Generic_IEnumerable_System_String__System_Collections_Generic_IEnumerable_System_String__Google_Protobuf_WellKnownTypes_Duration_Google_Api_Gax_Grpc_CallSettings_) [IAMCredentialsClient.GenerateAccessTokenAsync(ServiceAccountName, IEnumerable\<string\>, IEnumerable\<string\>, Duration, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_GenerateAccessTokenAsync_Google_Cloud_Iam_Credentials_V1_ServiceAccountName_System_Collections_Generic_IEnumerable_System_String__System_Collections_Generic_IEnumerable_System_String__Google_Protobuf_WellKnownTypes_Duration_System_Threading_CancellationToken_) [IAMCredentialsClient.GenerateIdTokenAsync(GenerateIdTokenRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_GenerateIdTokenAsync_Google_Cloud_Iam_Credentials_V1_GenerateIdTokenRequest_System_Threading_CancellationToken_) [IAMCredentialsClient.GenerateIdToken(string, IEnumerable\<string\>, string, bool, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_GenerateIdToken_System_String_System_Collections_Generic_IEnumerable_System_String__System_String_System_Boolean_Google_Api_Gax_Grpc_CallSettings_) [IAMCredentialsClient.GenerateIdTokenAsync(string, IEnumerable\<string\>, string, bool, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_GenerateIdTokenAsync_System_String_System_Collections_Generic_IEnumerable_System_String__System_String_System_Boolean_Google_Api_Gax_Grpc_CallSettings_) [IAMCredentialsClient.GenerateIdTokenAsync(string, IEnumerable\<string\>, string, bool, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_GenerateIdTokenAsync_System_String_System_Collections_Generic_IEnumerable_System_String__System_String_System_Boolean_System_Threading_CancellationToken_) [IAMCredentialsClient.GenerateIdToken(ServiceAccountName, IEnumerable\<string\>, string, bool, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_GenerateIdToken_Google_Cloud_Iam_Credentials_V1_ServiceAccountName_System_Collections_Generic_IEnumerable_System_String__System_String_System_Boolean_Google_Api_Gax_Grpc_CallSettings_) [IAMCredentialsClient.GenerateIdTokenAsync(ServiceAccountName, IEnumerable\<string\>, string, bool, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_GenerateIdTokenAsync_Google_Cloud_Iam_Credentials_V1_ServiceAccountName_System_Collections_Generic_IEnumerable_System_String__System_String_System_Boolean_Google_Api_Gax_Grpc_CallSettings_) [IAMCredentialsClient.GenerateIdTokenAsync(ServiceAccountName, IEnumerable\<string\>, string, bool, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_GenerateIdTokenAsync_Google_Cloud_Iam_Credentials_V1_ServiceAccountName_System_Collections_Generic_IEnumerable_System_String__System_String_System_Boolean_System_Threading_CancellationToken_) [IAMCredentialsClient.SignBlobAsync(SignBlobRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_SignBlobAsync_Google_Cloud_Iam_Credentials_V1_SignBlobRequest_System_Threading_CancellationToken_) [IAMCredentialsClient.SignBlob(string, IEnumerable\<string\>, ByteString, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_SignBlob_System_String_System_Collections_Generic_IEnumerable_System_String__Google_Protobuf_ByteString_Google_Api_Gax_Grpc_CallSettings_) [IAMCredentialsClient.SignBlobAsync(string, IEnumerable\<string\>, ByteString, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_SignBlobAsync_System_String_System_Collections_Generic_IEnumerable_System_String__Google_Protobuf_ByteString_Google_Api_Gax_Grpc_CallSettings_) [IAMCredentialsClient.SignBlobAsync(string, IEnumerable\<string\>, ByteString, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_SignBlobAsync_System_String_System_Collections_Generic_IEnumerable_System_String__Google_Protobuf_ByteString_System_Threading_CancellationToken_) [IAMCredentialsClient.SignBlob(ServiceAccountName, IEnumerable\<string\>, ByteString, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_SignBlob_Google_Cloud_Iam_Credentials_V1_ServiceAccountName_System_Collections_Generic_IEnumerable_System_String__Google_Protobuf_ByteString_Google_Api_Gax_Grpc_CallSettings_) [IAMCredentialsClient.SignBlobAsync(ServiceAccountName, IEnumerable\<string\>, ByteString, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_SignBlobAsync_Google_Cloud_Iam_Credentials_V1_ServiceAccountName_System_Collections_Generic_IEnumerable_System_String__Google_Protobuf_ByteString_Google_Api_Gax_Grpc_CallSettings_) [IAMCredentialsClient.SignBlobAsync(ServiceAccountName, IEnumerable\<string\>, ByteString, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_SignBlobAsync_Google_Cloud_Iam_Credentials_V1_ServiceAccountName_System_Collections_Generic_IEnumerable_System_String__Google_Protobuf_ByteString_System_Threading_CancellationToken_) [IAMCredentialsClient.SignJwtAsync(SignJwtRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_SignJwtAsync_Google_Cloud_Iam_Credentials_V1_SignJwtRequest_System_Threading_CancellationToken_) [IAMCredentialsClient.SignJwt(string, IEnumerable\<string\>, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_SignJwt_System_String_System_Collections_Generic_IEnumerable_System_String__System_String_Google_Api_Gax_Grpc_CallSettings_) [IAMCredentialsClient.SignJwtAsync(string, IEnumerable\<string\>, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_SignJwtAsync_System_String_System_Collections_Generic_IEnumerable_System_String__System_String_Google_Api_Gax_Grpc_CallSettings_) [IAMCredentialsClient.SignJwtAsync(string, IEnumerable\<string\>, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_SignJwtAsync_System_String_System_Collections_Generic_IEnumerable_System_String__System_String_System_Threading_CancellationToken_) [IAMCredentialsClient.SignJwt(ServiceAccountName, IEnumerable\<string\>, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_SignJwt_Google_Cloud_Iam_Credentials_V1_ServiceAccountName_System_Collections_Generic_IEnumerable_System_String__System_String_Google_Api_Gax_Grpc_CallSettings_) [IAMCredentialsClient.SignJwtAsync(ServiceAccountName, IEnumerable\<string\>, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_SignJwtAsync_Google_Cloud_Iam_Credentials_V1_ServiceAccountName_System_Collections_Generic_IEnumerable_System_String__System_String_Google_Api_Gax_Grpc_CallSettings_) [IAMCredentialsClient.SignJwtAsync(ServiceAccountName, IEnumerable\<string\>, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_SignJwtAsync_Google_Cloud_Iam_Credentials_V1_ServiceAccountName_System_Collections_Generic_IEnumerable_System_String__System_String_System_Threading_CancellationToken_) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Iam.Credentials.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1)

## Assembly

Google.Cloud.Iam.Credentials.V1.dll

## Remarks

A service account is a special type of Google account that belongs to your
application or a virtual machine (VM), instead of to an individual end user.
Your application assumes the identity of the service account to call Google
APIs, so that the users aren't directly involved.

Service account credentials are used to temporarily assume the identity
of the service account. Supported credential types include OAuth 2.0 access
tokens, OpenID Connect ID tokens, self-signed JSON Web Tokens (JWTs), and
more.

## Constructors

### IAMCredentialsClientImpl(IAMCredentialsClient, IAMCredentialsSettings, ILogger)

    public IAMCredentialsClientImpl(IAMCredentials.IAMCredentialsClient grpcClient, IAMCredentialsSettings settings, ILogger logger)

Constructs a client wrapper for the IAMCredentials service, with the specified gRPC client and settings.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `grpcClient` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentials.IAMCredentialsClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsSettings` The base [IAMCredentialsSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsSettings) used within this client. |
| `logger` | `https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger` Optional [ILogger](https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger) to use within this client. |

## Properties

### GrpcClient

    public override IAMCredentials.IAMCredentialsClient GrpcClient { get; }

The underlying gRPC IAMCredentials client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentials.IAMCredentialsClient` |   |

**Overrides** [IAMCredentialsClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_GrpcClient)

## Methods

### GenerateAccessToken(GenerateAccessTokenRequest, CallSettings)

    public override GenerateAccessTokenResponse GenerateAccessToken(GenerateAccessTokenRequest request, CallSettings callSettings = null)

Generates an OAuth 2.0 access token for a service account.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.GenerateAccessTokenRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.GenerateAccessTokenResponse` | The RPC response. |

**Overrides** [IAMCredentialsClient.GenerateAccessToken(GenerateAccessTokenRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_GenerateAccessToken_Google_Cloud_Iam_Credentials_V1_GenerateAccessTokenRequest_Google_Api_Gax_Grpc_CallSettings_)

### GenerateAccessTokenAsync(GenerateAccessTokenRequest, CallSettings)

    public override Task<GenerateAccessTokenResponse> GenerateAccessTokenAsync(GenerateAccessTokenRequest request, CallSettings callSettings = null)

Generates an OAuth 2.0 access token for a service account.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.GenerateAccessTokenRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.GenerateAccessTokenResponse` | A Task containing the RPC response. |

**Overrides** [IAMCredentialsClient.GenerateAccessTokenAsync(GenerateAccessTokenRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_GenerateAccessTokenAsync_Google_Cloud_Iam_Credentials_V1_GenerateAccessTokenRequest_Google_Api_Gax_Grpc_CallSettings_)

### GenerateIdToken(GenerateIdTokenRequest, CallSettings)

    public override GenerateIdTokenResponse GenerateIdToken(GenerateIdTokenRequest request, CallSettings callSettings = null)

Generates an OpenID Connect ID token for a service account.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.GenerateIdTokenRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.GenerateIdTokenResponse` | The RPC response. |

**Overrides** [IAMCredentialsClient.GenerateIdToken(GenerateIdTokenRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_GenerateIdToken_Google_Cloud_Iam_Credentials_V1_GenerateIdTokenRequest_Google_Api_Gax_Grpc_CallSettings_)

### GenerateIdTokenAsync(GenerateIdTokenRequest, CallSettings)

    public override Task<GenerateIdTokenResponse> GenerateIdTokenAsync(GenerateIdTokenRequest request, CallSettings callSettings = null)

Generates an OpenID Connect ID token for a service account.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.GenerateIdTokenRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.GenerateIdTokenResponse` | A Task containing the RPC response. |

**Overrides** [IAMCredentialsClient.GenerateIdTokenAsync(GenerateIdTokenRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_GenerateIdTokenAsync_Google_Cloud_Iam_Credentials_V1_GenerateIdTokenRequest_Google_Api_Gax_Grpc_CallSettings_)

### SignBlob(SignBlobRequest, CallSettings)

    public override SignBlobResponse SignBlob(SignBlobRequest request, CallSettings callSettings = null)

Signs a blob using a service account's system-managed private key.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.SignBlobRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.SignBlobResponse` | The RPC response. |

**Overrides** [IAMCredentialsClient.SignBlob(SignBlobRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_SignBlob_Google_Cloud_Iam_Credentials_V1_SignBlobRequest_Google_Api_Gax_Grpc_CallSettings_)

### SignBlobAsync(SignBlobRequest, CallSettings)

    public override Task<SignBlobResponse> SignBlobAsync(SignBlobRequest request, CallSettings callSettings = null)

Signs a blob using a service account's system-managed private key.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.SignBlobRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.SignBlobResponse` | A Task containing the RPC response. |

**Overrides** [IAMCredentialsClient.SignBlobAsync(SignBlobRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_SignBlobAsync_Google_Cloud_Iam_Credentials_V1_SignBlobRequest_Google_Api_Gax_Grpc_CallSettings_)

### SignJwt(SignJwtRequest, CallSettings)

    public override SignJwtResponse SignJwt(SignJwtRequest request, CallSettings callSettings = null)

Signs a JWT using a service account's system-managed private key.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.SignJwtRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.SignJwtResponse` | The RPC response. |

**Overrides** [IAMCredentialsClient.SignJwt(SignJwtRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_SignJwt_Google_Cloud_Iam_Credentials_V1_SignJwtRequest_Google_Api_Gax_Grpc_CallSettings_)

### SignJwtAsync(SignJwtRequest, CallSettings)

    public override Task<SignJwtResponse> SignJwtAsync(SignJwtRequest request, CallSettings callSettings = null)

Signs a JWT using a service account's system-managed private key.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.SignJwtRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.SignJwtResponse` | A Task containing the RPC response. |

**Overrides** [IAMCredentialsClient.SignJwtAsync(SignJwtRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.Credentials.V1/latest/Google.Cloud.Iam.Credentials.V1.IAMCredentialsClient#Google_Cloud_Iam_Credentials_V1_IAMCredentialsClient_SignJwtAsync_Google_Cloud_Iam_Credentials_V1_SignJwtRequest_Google_Api_Gax_Grpc_CallSettings_)