Skip to content

Commit

Permalink
Amends migrate to access entry documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
punkwalker authored and TiberiuGC committed Apr 23, 2024
1 parent d4f6d16 commit ac7ef16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions userdocs/src/usage/access-entries.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,15 +147,15 @@ eksctl delete accessentry -f config.yaml

### Migrate IAM identity mappings to access entries

The user can migrate their existing IAM identities from configmap to access entries by running the following:
The user can migrate their existing IAM identities from `aws-auth` configmap to access entries by running the following:

```shell
eksctl utils migrate-to-access-entry --cluster my-cluster --target-authentication-mode <API or API_AND_CONFIG_MAP>
```

When `--target-authentication-mode` flag is set to `API`, authentication mode is switched to `API` mode (skipped if already in `API` mode), IAM identity mappings will be migrated to access entries, and `aws-auth` configmap is deleted from the cluster.

When `--target-authentication-mode` flag is set to `API_AND_CONFIG_MAP`, authentication mode is switched to `API_AND_CONFIG_MAP` mode (skipped if already in `API_AND_CONFIG_MAP` mode), IAM identity mappings will be migrated to access entries.
When `--target-authentication-mode` flag is set to `API_AND_CONFIG_MAP`, authentication mode is switched to `API_AND_CONFIG_MAP` mode (skipped if already in `API_AND_CONFIG_MAP` mode), IAM identity mappings will be migrated to access entries, but `aws-auth` configmap is preserved.

???+ note
When `--target-authentication-mode` flag is set to `API`, this command will not update authentication mode to `API` mode if `aws-auth` configmap has one of the below constraints.
Expand Down

0 comments on commit ac7ef16

Please sign in to comment.