ibm-cloud-sdk-core
Version:
Core functionality to support SDKs generated with IBM's OpenAPI SDK Generator.
20 lines (11 loc) • 728 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[](./index.md) > [ibm-cloud-sdk-core](./ibm-cloud-sdk-core.md) > [ContainerTokenManager](./ibm-cloud-sdk-core.containertokenmanager.md) > [getCrToken](./ibm-cloud-sdk-core.containertokenmanager.getcrtoken.md)
Retrieves the CR token from a file using this search order: 1. User-specified filename (if specified) 2. Default file \#1 (/var/run/secrets/tokens/vault-token) 3. Default file \#2 (/var/run/secrets/tokens/sa-token) First one found wins.
**Signature:**
```typescript
protected getCrToken(): string;
```
**Returns:**
string
the CR token value as a string