A security-hardened JSON REST-style application programmer's interface that adds Authentication and Authorization to Precisely®1 EngageOne™1 Vault.
Authentication can be configured to business requirements.
# Require OAuth for vault APIs
# Enable OAuth-Based Security.
# WARNING: setting this value to false gives unrestricted access to Archive documents.
oauth-enabled = true
# Role-Based Access Controls aka OpenID Connect, enables 0 or more "permissions" claims per user
oauth-rbac = true
# "vault:vaultapi" access to SwaggerUI + OpenAPI.json -- grants no archived document access
# "vault:account:telcom:12345" access only to account 12345 in database "telcom". [Experimental]
# "vault:database:soandso" access to all documents in the "soandso" database
# "vault:database:*" access to all documents in all databases, e.g. everything in vault
# Allow access to SwaggerUI and OpenAPI.json without requiring the vault:vaultapi claim.
insecure-enabled = false
# If a user is not authenticated, redirect to this endpoint for a Login.
# This endpoint should be reachable by HTTPS with suffix /.well-known/jwks.json
oauth-domain = "dev-3xamp1e.us.auth0.com"
# Audience value for aud= portion of request aka API Identifier.
oauth-audience = "https://ironwoodccm.ca/api"
# Todo on OAuth provider: Allow the endpoint that this service is exposed as.