RousselTMLEARNING

Cloud computing

Identities and access on OVHcloud: account, IAM, OpenStack users and keys

Secure access to OVHcloud: two-factor authentication on the account, OVHcloud IAM (identities, policies), OpenStack users and roles, OVHcloud API keys, S3 credentials, SSH keys and best practices.

1. The account and IAM #

Protecting the main access.

Rules #

OVHcloud identities
Never share the main account: create users and technical identities.
  • Two-factor authentication (TOTP app, security key) on the customer account.
  • OVHcloud IAM: local or federated users (SAML SSO), policies that allow actions on resources.
  • Separate administrative, technical and billing contacts.

2. Technical identities #

For tools and applications.

OpenStack users and API #

IdentityUsageGood practice
OpenStack userCLI, Terraform, applicationsOne per tool, minimal roles (Compute Operator, ObjectStore Operator…)
OVHcloud API keyOVHcloud API (billing, domains, Kubernetes…)Rights limited to specific paths and methods, validity period
S3 credentialsObject StorageTied to a user; per-bucket policies
openstack user list 2>/dev/null || echo "gestion des utilisateurs depuis l'espace client ou l'API OVHcloud"
openstack role assignment list --names --user user-terraform
openstack ec2 credentials create          # couple accès/secret pour l'API S3
openstack keypair create --public-key ~/.ssh/id_ed25519.pub ma-cle

3. Best practices #

Least privilege.

Rules #

  • One identity per use and per environment; revoked when someone leaves.
  • Secrets in a vault (Vault, the CI secrets manager), never in Git.
  • SSH keys per person; password authentication disabled on instances.
  • Log actions (activity logs, Logs Data Platform).
Common mistake: An openrc file contains a password or a token: protect it (chmod 600) and never commit it.

Related articles

Understanding OVHcloud: universes, regions, Public Cloud and tools

Discover OVHcloud, a European cloud provider: the Bare Metal, Hosted Private Cloud, Public Cloud (based on Op…

OVHcloud Public Cloud networking: private networks, vRack, Gateway, Floating IP and Load Balancer

Design networking on OVHcloud Public Cloud: public network and OpenStack private networks, vRack, subnets and…

Compute on OVHcloud: Public Cloud instances and Managed Kubernetes Service

Choose and use OVHcloud compute: instance ranges (General Purpose, CPU, RAM, GPU, Discovery), images and clou…

Keep learning

Support us

♥ SUPPORT US

Support RousselTM Learning

Courses, articles, labs and certificates stay free with no intrusive ads. A voluntary contribution, of any amount you choose, pays for hosting, lab environments and new content.

Contribute with PayPal Any amount · card or PayPal accountLearn more
QR code PayPal
Or scan this QR code with your phone

Thank you, every contribution counts!