# Set an inline policy with admin privilegesawssso-adminput-inline-policy-to-permission-set--instance-arn<instance-arn>--permission-set-arn<perm-set-arn>--inline-policyfile:///tmp/policy.yaml# Content of /tmp/policy.yaml{"Version":"2012-10-17","Statement": [{"Sid":"Statement1","Effect":"Allow","Action": ["*"],"Resource": ["*"]}]}# Update the provisioning so the new policy is created in the accountawssso-adminprovision-permission-set--instance-arn<instance-arn>--permission-set-arn<perm-set-arn>--target-typeALL_PROVISIONED_ACCOUNTS
# Set AdministratorAccess policy to the permission setawssso-adminattach-managed-policy-to-permission-set--instance-arn<instance-arn>--permission-set-arn<perm-set-arn>--managed-policy-arn"arn:aws:iam::aws:policy/AdministratorAccess"# Update the provisioning so the new policy is created in the accountawssso-adminprovision-permission-set--instance-arn<instance-arn>--permission-set-arn<perm-set-arn>--target-typeALL_PROVISIONED_ACCOUNTS
# Set AdministratorAccess policy to the permission setawssso-adminattach-customer-managed-policy-reference-to-permission-set--instance-arn<instance-arn>--permission-set-arn<perm-set-arn>--customer-managed-policy-reference<customer-managed-policy-name># Update the provisioning so the new policy is created in the accountawssso-adminprovision-permission-set--instance-arn<instance-arn>--permission-set-arn<perm-set-arn>--target-typeALL_PROVISIONED_ACCOUNTS