Remove access resources after use
Remove a connection before removing the credential and secret that it uses.
Remove a connection before removing the credential and secret that it uses.
Dropping a local object does not revoke an AWS key, token, or role permission.
The three names should be absent from the final lists. These commands remove
only the engine registration, credential definition, and local secret. They do
not delete remote tables or revoke the token.
For credentials backed by local key secrets, drop those secrets after their
credential. For external aliases, DROP SECRET removes the alias only. Deleting
remote test secrets, changing IAM permissions, or removing identity associations
is separate AWS setup work.
IF EXISTS allows repeated cleanup after a partial run. Use only the names
created by your recipe; it is not an ownership check.
Last modified on November 4, 2026