aboutsummaryrefslogtreecommitdiffstats
path: root/vespa-athenz/src/main/java/com/yahoo/vespa/athenz/identityprovider/api/SignedIdentityDocument.java
blob: 0f941ea5bf0329bc75353c8868c84ab61ead515b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.athenz.identityprovider.api;

import com.yahoo.vespa.athenz.api.AthenzService;

import java.time.Instant;
import java.util.Set;

/**
 * A signed identity document
 *
 * @author bjorncs
 */
public record SignedIdentityDocument(String signature, int signingKeyVersion, VespaUniqueInstanceId providerUniqueId,
                                     AthenzService providerService, int documentVersion, String configServerHostname,
                                     String instanceHostname, Instant createdAt, Set<String> ipAddresses,
                                     IdentityType identityType) {
    public static final int DEFAULT_DOCUMENT_VERSION = 1;

}