4 ms·
The token prefix is a nice hack, but users will find it out and then it becomes part of the informal API.
by smallnix 3y ago
The token prefix is a nice hack, but users will find it out and then it becomes part of the informal API.
- deleted 3y ago[deleted]
- 8organicbits 3y agoI don't think the AKIA/ASIA prefix for AWS access keys is formalized, which may be a good example of this: https://github.com/localstack/localstack/blob/6f846a8278e4396d7f52980ca5d5db756a703f9f/localstack/aws/accounts.py#L119 https://github.com/localstack/localstack/blob/6f846a8278e439...
- supriyo-biswas 3y agoIt is formalized though: https://docs.aws.amazon.com/STS/latest/APIReference/API_GetAccessKeyInfo.html https://docs.aws.amazon.com/STS/latest/APIReference/API_GetA...
- theamk 3y agoAnd that's fine. In fact, I would document the prefixes in the docs and make ot official.
- smackeyacky 3y agoIts the kind of thing I would rather see a base64 coded bit of json for. Easy to understand for support and easy for clients debugging.