Data foundation started, with updated guidelines and
golangci-lint config.
This commit is contained in:
2025-11-16 19:21:27 -08:00
parent 07a5e957af
commit c8a6830a80
9 changed files with 788 additions and 149 deletions

View File

@@ -24,7 +24,7 @@ apps that I write.
the role named the same as a service account can issue tokens for that
service account.
- Admin users can also revoke tokens for a service account.
- Service accounts (and users with the a role named the same as the
- Service accounts (and users with a role named the same as the
service account) can also retrieve Postgres database credentials for
the service account.
@@ -41,10 +41,13 @@ apps that I write.
- The primary interface will be an REST API over HTTPS. TLS security is
critical for this.
- There should be two command line tools associated with MCIAS:
- mciassrv is the authentication server.
- mciasctl is the tool for admins to create and manage accounts, issue
or revoke tokens, and manage postgres database credentials.
- There should be a single command line program using cobra/viper. It offers the following subcommands:
- `db`: manage database credentials.
- `role`: manage roles.
- `server`: run the server.
- `token`: obtain a token for a service account.
- `user`: manage users.
## Structure