This allows creating personal access tokens, deleting personal access tokens, and updating the access policy for personal access tokens. For security, it does not display personal access token values by default, it only shows the id for each token. The reveable_content component is used to display the token values that can be used in the API. This adds a remove_subjects keyword argument to Authorization::ManagedPolicies::ManagedPolicyClass#apply. This is necessary to ensure that updating account policies does not remove personal access token policies. It also makes sure that updating personal access token policies for one account does not modify personal access token policies for other accounts. Co-authored-by: Enes Cakir <enes@ubicloud.com>
6.1 KiB
6.1 KiB