Yandex.Cloud
  • Services
  • Why Yandex.Cloud
  • Pricing
  • Documentation
  • Contact us
Get started
Command line interface
  • Getting started with the CLI
  • Step-by-step instructions
    • All instructions
    • CLI installation
    • Authentication
      • Authenticating as a user
      • Authenticating as a service account
      • Authenticating as a federated user
    • Profile management
      • Creating a profile
      • Managing profile parameters
      • Getting profile information
      • Activating a profile
      • Deleting a profile
  • Concepts
    • Running commands
    • CLI configuration
    • Synchronous and asynchronous command execution modes
  • CLI releases
  • Troubleshooting
  • CLI reference
    • Overview
    • YC CLI management
      • yc operation
      • yc config
      • yc components
    • Service management
      • yc iam
      • yc resource-manager
      • yc compute
      • yc vpc
      • yc managed-clickhouse
      • yc managed-mongodb
      • yc managed-postgresql
  1. CLI reference
  2. Service management
  3. yc iam

yc iam

    Manage Yandex Identity and Access Management resources.

    Usage

    Syntax:

    yc iam <group|command>

    Commands

    • yc iam create-token — create IAM token and print to STDOUT.

    Groups

    • yc iam role — manage roles.
      • get — show information about the specified role.
      • list — list roles.
    • yc iam service-account — manage service accounts.
      • get — show information about the specified service account.
      • list — list service accounts.
      • create — create a service account.
      • update — update the specified service account.
      • delete — delete the specified service account.
      • list-access-bindings — list access bindings for ACCESSING the specified service account.
      • set-access-bindings — set access bindings for ACCESSING the specified service account and DELETE all existing access bindings if there were any.
      • add-access-binding — Add access binding to ACCESS the specified service account as a resource.
      • remove-access-binding — remove access binding for ACCESSING the specified service account as a resource.
      • list-operations — list operations for the specified service account.
    • yc iam key — manage IAM keys.
      • get — show information about the specified IAM key.
      • list — list IAM keys for authenticated account or the specified service account.
      • create — create an IAM key for authenticated account or the specified service account.
      • delete — delete the specified IAM key.
    • yc iam access-key — manage service account access keys.
      • get — show information about the specified access key.
      • list — list access keys for the specified service account.
      • create — create an access key for the specified service account.
      • delete — delete the specified access key.
    • yc iam user-account — manage user accounts.
      • get — show information about the specified user account.
    Language
    Careers
    Privacy policy
    Terms of use
    © 2021 Yandex.Cloud LLC