This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Создадим сервисный аккаунт: | |
yc iam service-account create --name service | |
2. Добавим роль нашему сервисному аккаунту: | |
yc resource-manager folder add-access-binding default \ | |
--role editor \ | |
--subject serviceAccount:<ID_SERVICE_ACCOUNT> | |
3. Создадим ключи доступа для аккаунта service: | |
yc iam access-key create --service-account-name service \ |