(prefix: string, scopeId: string, secretId: string)
| 79 | const enc = encodeURIComponent; |
| 80 | |
| 81 | export const vaultV1ObjectName = (prefix: string, scopeId: string, secretId: string): string => |
| 82 | `${prefix}/${enc(scopeId)}/secrets/${enc(secretId)}`; |
| 83 | |
| 84 | /** The legacy un-url-encoded variant v1 falls back to on a 404. */ |
| 85 | export const vaultV1LegacyObjectName = ( |
no outgoing calls
no test coverage detected