1
0
vault-redux/vault/tokens/token.proto
Steven Clark 2b88002501
Update licensing across various source files - 1.14 (#24674)
* Fix licensing on various files

* Update CI and release files to BUSL-1.1

* Update offset within config_test_helpers.go

 - Fix a test the same way it's been fixed on main/1.15
2024-01-08 12:24:52 -05:00

21 lines
560 B
Protocol Buffer

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
syntax = "proto3";
option go_package = "github.com/hashicorp/vault/vault/tokens";
package tokens;
// SignedToken
message SignedToken {
uint64 token_version = 1; // always 1 for now
bytes hmac = 2; // HMAC of token
bytes token = 3; // protobuf-marshalled Token message
}
message Token {
string random = 1; // unencoded equiv of former $randbase62
uint64 local_index = 2; // required storage state to have this token
uint32 index_epoch = 3;
}