Skip to content
AnchrasDocumentation
Browse documentation

Networking / User guide

Cloud accounts and providers

Connect cloud provider credentials and discover available regions and resource profiles.

On this page

Before you begin

Have credentials for the intended provider account with only the permissions required by your planned resources. Keep provider billing and quota ownership clear.

Get started

  1. Open Integrations and browse the cloud provider directory.
  2. Choose the provider and supply its credential fields.
  3. Validate the account and select a supported default region.
  4. Resolve an instance or storage profile to verify that a usable provider option is available.

Operate the service

Revalidate credentials after permission changes and rotate them through the protected account flow. Inspect account status and provider identity. Review dependent resources before removing an account; deleting a connection does not replace provider resource teardown.

Availability and limits

Provider logos can use shared OpenStack or CloudStack drivers. A connected account does not guarantee every service, region, or SKU is available. Provider quotas and account-region enablement still apply.

Troubleshooting

For failed validation, check credential scope, endpoint, and provider identity. For no placement options, check enabled regions, profile mapping, account status, and quota.

Next steps

Use the CLI guide to automate repeatable work, or the API guide to integrate Anchras with your own tools.

CLI commands

Install and authenticate using the CLI guide. The table describes command families; required arguments are shown in their usage output.

CommandPurpose
cloud-accounts listList connected cloud provider accounts with the region each is registered in (REGION) and its default provider region (DEFAULT_REGION). Archived accounts are hidden; --include-archived lists them too, with an ARCHIVED_AT column.
cloud-accounts regions --provider <provider>List the provider regions an account of that provider can default to: its locations registered under this deployment's region, regions rather than their zones, each with its placement label, country and jurisdiction. Suggestions only; --default-region accepts any provider code. Endpoint-parameterized providers (OpenStack, CloudStack, MinIO) list none. Read-only.
cloud-accounts machines <id>Inspect a Metal3 connection’s allowed machines, observed capacity, freshness and eligibility. Supports --page, --page-size (maximum 100) and structured output. Read-only; no machine provisioning.
cloud-accounts get <id>Show one cloud account, its region, validation status, external id, and credential version; secrets are never printed.
cloud-accounts createConnect a provider account. Requires --region <region-id> (ADR-073: a cloud account is registered in one region, holds its credential only there and provisions only into that region's locations; register one credential once per region, and a draining region refuses new accounts), --provider plus provider-specific credential flags; optional --display-name, --default-region, and (MinIO, RustFS, CloudStack, OpenStack) --reach-via-instance <instance-id> to reach a private endpoint through that instance's host agent. Keyless Google Cloud uses --gcp-workload-identity-provider, --gcp-service-account, --gcp-project-id and the --account-id from workload-identity-setup, plus --gcp-jwks-upload when the pool provider holds an uploaded JWKS because Google cannot reach the issuer URL (Anchras then pushes its key set to the provider on every rotation); keyless AWS uses --aws-role-arn (optional --aws-session-name) and keyless Azure --azure-workload-identity with --azure-tenant-id, --azure-client-id and an optional --azure-subscription-id, each with that --account-id. Metal3 uses --metal3-endpoint, --metal3-ca-file, --metal3-token-file, and comma-separated --metal3-namespaces; rotation accepts the same flags. CloudStack uses --cloudstack-api-url, --cloudstack-api-key, --cloudstack-secret-key[-file] and optional --cloudstack-region. OpenStack uses --openstack-auth-url, optional --openstack-region, and either --openstack-application-credential-id with --openstack-application-credential-secret[-file] or --openstack-username with --openstack-password[-file] (optional --openstack-project-id, --openstack-domain-name); --vendor-label ovhcloud marks an OVHcloud OpenStack account at create. Hetzner requires --hetzner-api-token and --hetzner-project-id. Exoscale uses --exoscale-api-key and --exoscale-api-secret[-file] (optional --s3-access-key-id with --s3-secret-access-key override the IAM key for object storage). UpCloud uses --upcloud-token[-file] (recommended), or legacy --upcloud-username and --upcloud-password[-file]; these authentication methods are mutually exclusive; IONOS uses --ionos-token[-file]; STACKIT uses --stackit-project-id and --stackit-service-account-token[-file]; Verda uses --verda-client-id and --verda-client-secret[-file]; Cloudflare uses --cloudflare-account-id and --cloudflare-api-token[-file]. A -file flag set to - reads the secret from stdin, without echo on a terminal; a value flag and its -file flag are mutually exclusive.
cloud-accounts update <id>Update account metadata. Requires --display-name (optional --default-region), or a route change alone: --reach-via-instance <instance-id> or --clear-reach-via-instance (audited).
cloud-accounts rotate <id>Replace sealed provider credentials after validation. Requires --provider plus provider-specific credential flags.
cloud-accounts revalidate <id>Re-run provider credential validation and return current account status.
cloud-accounts delete <id>Delete a connected cloud account. Terminated resources keep their history with the former account; completed backup exports are detached from it and kept (a restore then needs --target-account). Refused while anything still uses the account (including clusters, BYO DNS zone bindings and internal DNS record publications that are not terminated), and while Metal3 allocation history references it: that history is immutable, so archive the account instead.
cloud-accounts archive <id>Archive an account instead of deleting it: it is hidden from list and takes no new use (no provisioning, discovery, revalidation or credential use, and update, rotate and revalidate refuse it), while its terminal history and Metal3 allocation history stay. Refused while anything still uses the account (including unreleased Metal3 allocations, clusters and DNS bindings). Owner only, like delete.
cloud-accounts unarchive <id>Return an archived account to use; the periodic revalidation checks its credentials again. Owner only.
cloud-accounts workload-identity-setupPrint what to configure in the cloud for a keyless (workload identity) account, and allocate the --account-id to create it with. --provider gcp (default) prints the issuer URL, audience, attribute mapping and condition and IAM principal; --provider aws the IAM OIDC provider URL, audience, subject and, with --aws-role-arn, the role trust policy; --provider azure the federated credential's issuer, subject and audience. Optional --account-id (an existing keyless account or an earlier run's ID) and --gcp-workload-identity-provider. Read-only.
cloud-accounts workload-identity-jwksExport the workload identity issuer's discovery document and published JWKS, for an installation whose issuer URL the cloud cannot reach. Prints the issuer URL, each published key's state (signing, successor, retired) and schedule, and whether a key rotation is pending with the successor's activation time; -o json adds both documents. --out-dir <dir> writes jwks.json and .well-known/openid-configuration under <dir>, byte for byte as the issuer serves them: upload jwks.json as a GCP pool provider's JWKS, or host the directory at the issuer URL for AWS and Azure. A copy kept by hand must be replaced while a rotation is pending. Creates the issuer's first key if it has none.

API reference

Browse procedures, request and response types, and download the complete OpenAPI contract.