Skip to content

Is User Auto Provisioning Unsupported on Aurora RDS? #50566

Discussion options

You must be logged in to vote

@computerphilosopher Aurora MySQL should work fine.

for example, here are the things that I run to provision my teleport-admin user on Aurora MySQL:

CREATE DATABASE IF NOT EXISTS teleport;
CREATE USER 'teleport-admin' IDENTIFIED WITH AWSAuthenticationPlugin AS 'RDS';
GRANT SELECT ON mysql.role_edges TO 'teleport-admin' ;
GRANT PROCESS, ROLE_ADMIN, CREATE USER ON *.* TO 'teleport-admin' ;
GRANT ALTER ROUTINE, CREATE ROUTINE, EXECUTE, CREATE ON teleport.* TO 'teleport-admin' ;
FLUSH PRIVILEGES;
CREATE ROLE 'role1';
CREATE DATABASE 'test';
GRANT SELECT ON test.* TO 'role1';

Of course this part is done using master user with password auth without Teleport. After this initial setup, I can use …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@greedy52
Comment options

Answer selected by computerphilosopher
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants