We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI Option:
spanner-cli -p <project> -i <instance> -d <database> --role <role>
Syntax:
USE <database> WITH ROLE <role>;
https://cloud.google.com/spanner/docs/access-with-fgac?hl=en
The text was updated successfully, but these errors were encountered:
Prototype implementation: master...toga4:spanner-cli:feature/with-role
Sorry, something went wrong.
@toga4 Thank you for your proposal. It's a good idea to support fine-grained access control in spanner-cli.
One suggestion: for USE statement, shall we omit WITH word? i.e. USE <database> [ROLE <role>];
USE
WITH
USE <database> [ROLE <role>];
Then it will be consistent with other multi-optional statement, like BEGIN [RW] [PRIORITY {HIGH|MEDIUM|LOW}] [TAG <tag>];: https://github.com/cloudspannerecosystem/spanner-cli#syntax
BEGIN [RW] [PRIORITY {HIGH|MEDIUM|LOW}] [TAG <tag>];
@yfuruyama Sure, let's omit it. Then, syntax will be below.
USE <database> ROLE <role>;
Can I submit a PR with this?
Sure, thank you!
FYI: @apstndb @takabow
Successfully merging a pull request may close this issue.
CLI Option:
Syntax:
https://cloud.google.com/spanner/docs/access-with-fgac?hl=en
The text was updated successfully, but these errors were encountered: