Skip to content

Add docs for the new API keys provisioning role - #7564

Open
yetanothertw wants to merge 4 commits into
mainfrom
api-keys-provisioning-1260
Open

Add docs for the new API keys provisioning role#7564
yetanothertw wants to merge 4 commits into
mainfrom
api-keys-provisioning-1260

Conversation

@yetanothertw

@yetanothertw yetanothertw commented Jul 24, 2026

Copy link
Copy Markdown
Member

Summary

Closes #1260 Adds details about a new role that allows a member to generate workload credentials to the Elastic Cloud API keys page.

Reviewer SMEs: @/nathalie-tran and @/s-nel + @/alxchalkias

Generative AI disclosure

  1. Did you use a generative AI (GenAI) tool to assist in creating this contribution?
  • Yes
  • No

@github-actions

Copy link
Copy Markdown
Contributor

Elastic Docs AI PR menu

Check the box to run an AI review for this pull request.

  • Review docs changes (docs-review). Status: not started.

Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team.

@github-actions

github-actions Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

@github-actions

Copy link
Copy Markdown
Contributor

✅ Elastic Docs Style Checker (Vale)

No issues found on modified lines!


The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale.

Comment thread deploy-manage/users-roles/cloud-organization/manage-users.md Outdated
Comment thread deploy-manage/users-roles/cloud-organization/user-roles.md Outdated
@yetanothertw
yetanothertw requested a review from alxchalkias July 24, 2026 11:31
@yetanothertw

Copy link
Copy Markdown
Member Author

Thanks @alxchalkias, I've updated the language to be slightly more generic wrt to workload credentials. It's ready for your review again.

Comment thread deploy-manage/api-keys/elastic-cloud-api-keys.md Outdated
Co-authored-by: Samuel Nelson <samuel.nelson@elastic.co>

@shainaraskas shainaraskas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some thoughts on copy and positioning for you

Comment on lines +23 to +25
**Organization owners** can create and manage API keys for the organization. They can view and revoke all API keys in the organization.

Members with the **Workload credentials owner** role can create API keys and can list and revoke only the API keys they created. For more information about the **Workload credentials owner** role, refer to [User roles and privileges](/deploy-manage/users-roles/cloud-organization/user-roles.md#workload-credentials-owner).

@shainaraskas shainaraskas Jul 28, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wonder if this would read more clearly if it was in some sort of requirements/permissions section

also note that this is referring to actors as "members" but also keys with these roles can do the same activities programmatically :) I also think we prefer users over members


The roles you can assign depend on your privileges:

* **Organization owners** can assign any organization-level roles, cloud resource access roles, and connected cluster access roles.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

consider: "any" without specifying, to avoid maintaining the roles in multiple places.

also we are missing the "manage workload credentials" option (it is not a role, first thing that is not part of a role)



You can have multiple API keys for different purposes, and you can revoke them when you no longer need them. Each organization can have up to 500 active API keys.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

create procedure here (API one) should prob have a grant for workload credentials in the payload


* **Billing admin**: Can manage an organization’s billing details such as credit card information, subscription and invoice history. Cannot manage other organization or deployment details and properties.

* $$$workload-credentials-owner$$$**Workload credentials owner**: Allows the member to manage workload credentials, such as creating, listing, and revoking their own [{{ecloud}} API keys](/deploy-manage/api-keys/elastic-cloud-api-keys.md).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this a role? It doesn't look like it in the ui: https://www.figma.com/design/3bjglWkjCHd0qSRRsXkGP7/API-key-self-management-for-non-org-owners?node-id=8037-9225&m=dev

I also don't think this "role name" is the copy we use anywhere else.


* $$$workload-credentials-owner$$$**Workload credentials owner**: Allows the member to manage workload credentials, such as creating, listing, and revoking their own [{{ecloud}} API keys](/deploy-manage/api-keys/elastic-cloud-api-keys.md).

This role only adds the ability to manage credentials. It does not give the member access to any deployments or projects. To create useful credentials, such as API keys, the member also needs [cloud resource access roles](#ec_instance_access_roles) for the deployments or projects those credentials should cover. Credentials created with this role can only include roles that the member already holds on those resources. Organization owners can still view and revoke all workload credentials in the organization.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO I don't think we need to repeat this

wonder if we should front-load "limited by user's roles" (prefer user over member here), as the "this doesn't grant permissions" is secondary, especially if we consider this not exactly a role.

one gotcha is that this is not about the roles the user already holds, but instead the user's roles at key creation time. "already" implies "at workload credentials owner" grant time.

Suggested change
This role only adds the ability to manage credentials. It does not give the member access to any deployments or projects. To create useful credentials, such as API keys, the member also needs [cloud resource access roles](#ec_instance_access_roles) for the deployments or projects those credentials should cover. Credentials created with this role can only include roles that the member already holds on those resources. Organization owners can still view and revoke all workload credentials in the organization.
This role only adds the ability to manage credentials. It does not give the member access to any deployments or projects. To create useful credentials, such as API keys, the member also needs [cloud resource access roles](#ec_instance_access_roles) for the deployments or projects those credentials should cover. Credentials created with this role can only include roles that the member already holds on those resources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants