oslogin // authenticate as an instance

certificate | impersonate | install | instance | ssh key

descr

this is useful if you want an instance to proceed with operations as a service account

setup

simply assign the service account to that instance

yandex cli

yc config profile create $sa
yc config set cloud-id $cloud_id
yc config set folder-id $folder_id
#yc iam create-token

yandex unified agent

already authenticated as such

routes:
    channel:
      output:
        config:
          iam:
            cloud_meta: {}

see yandex-ua

resources

Authenticate as a service account from inside a VM https://yandex.cloud/en/docs/cli/operations/authentication/service-account#vm-auth-as-sa

Authenticating from inside a VM https://yandex.cloud/en/docs/compute/operations/vm-connect/auth-inside-vm#auth-inside-vm


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Copyright © 2024 Pierre-Philipp Braun