add key-pair to service account
ssh-keygen -t ed25519 -f ansible_edwards yc organization-manager organizations list org_id=... sa_id=... # for each folder yc organization-manager oslogin user-ssh-key create \ --name ansible_edwards \ --subject-id $sa_id \ --data "`cat ansible_edwards.pub`" \ --organization-id $org_id
Using a service account with an OS Login profile for VM management via Ansible https://yandex.cloud/en/docs/tutorials/security/sa-oslogin-ansible