yandex_iam_oauth_client (Resource)
Статья создана
Обновлена 30 июля 2026 г.
An OauthClient resource.
Arguments & Attributes Reference
authentication_methods(List Of String). List of authentication methods allowed for the oauth client.folder_id(String). ID of the folder oauth client belongs to.id(String). ID of the OAuthClient resource to return.
To get the oauth client ID, use a [OAuthClientService.List] request.name(Required)(String). Name for the oauth client.oauth_client_id(String). ID of the OAuthClient resource to return.
To get the oauth client ID, use a [OAuthClientService.List] request.pkce_required(Bool). Whether PKCE (Proof Key for Code Exchange) is required for the oauth client during the authorization code flow.profile_id(String). ID of the profile that defines the set of allowed settings for the oauth client.redirect_uris(Set Of String). List of redirect uries allowed for the oauth client.scopes(Set Of String). List of oauth scopes requested by the oauth client.status(Read-Only) (String). Current status of the oauth client.timeouts[Block].create(String). A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).delete(String). A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.read(String). A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.update(String). A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Import
The resource can be imported by using their resource ID. For getting it you can use Yandex Cloud Web Console
# terraform import yandex_iam_oauth_client.<resource Name> <resource Id>
terraform import yandex_iam_oauth_client.my-oauth-client ...