spiffeJson: (
req: any,
) => {
authentication: {
acceptAssertedSelectors: boolean;
adminIds: string[];
assertedSelectorHeader: string;
attestWorkloads: boolean;
bootstrapping: string;
credentialStatusNote: string;
enforced: boolean;
entities: { id: string; label: string; what: string }[];
identityNote: string;
policy: { allow: string[]; method: string }[];
trustLocalSocket: boolean;
what: string;
};
authorities: {
chainSubjects: any;
jwt: any;
maxRetained: any;
realm: string;
root: { certificatePem: any; notAfter: any; subject: any };
source: any;
trustAnchors: any;
x509: {
active: boolean;
certificatePem: any;
createdAt: any;
id: any;
keyType: any;
notAfter: any;
notBefore: any;
serialHex: any;
source: any;
subject: any;
}[];
};
bundle: { path: any; refreshHint: any; sequence: number };
counts: {
agents: any;
entries: any;
maxAgents: any;
maxEntries: any;
maxFederatedBundles: any;
};
enabled: boolean;
error: any;
federated: {
bundleEndpointProfile: any;
bundleEndpointUrl: any;
createdAt: any;
endpointSpiffeId: any;
jwtKeys: any;
keys: any;
refreshHint: any;
sequence: any;
trustDomain: any;
trustDomainId: string;
updatedAt: any;
x509Keys: any;
}[];
keyTypes: {
id: string;
jwtAlg: string;
kind: string;
label: string;
what: string;
}[];
listeners: { brokerApi: any; serverApi: any; workloadApi: any };
ready: boolean;
serverId: string;
settings: { key: string; value: any }[];
trustDomain: string;
trustDomainId: string;
workloadAttestation: any;
} = ...
Type Declaration
-
- (
req: any,
): {
authentication: {
acceptAssertedSelectors: boolean;
adminIds: string[];
assertedSelectorHeader: string;
attestWorkloads: boolean;
bootstrapping: string;
credentialStatusNote: string;
enforced: boolean;
entities: { id: string; label: string; what: string }[];
identityNote: string;
policy: { allow: string[]; method: string }[];
trustLocalSocket: boolean;
what: string;
};
authorities: {
chainSubjects: any;
jwt: any;
maxRetained: any;
realm: string;
root: { certificatePem: any; notAfter: any; subject: any };
source: any;
trustAnchors: any;
x509: {
active: boolean;
certificatePem: any;
createdAt: any;
id: any;
keyType: any;
notAfter: any;
notBefore: any;
serialHex: any;
source: any;
subject: any;
}[];
};
bundle: { path: any; refreshHint: any; sequence: number };
counts: {
agents: any;
entries: any;
maxAgents: any;
maxEntries: any;
maxFederatedBundles: any;
};
enabled: boolean;
error: any;
federated: {
bundleEndpointProfile: any;
bundleEndpointUrl: any;
createdAt: any;
endpointSpiffeId: any;
jwtKeys: any;
keys: any;
refreshHint: any;
sequence: any;
trustDomain: any;
trustDomainId: string;
updatedAt: any;
x509Keys: any;
}[];
keyTypes: {
id: string;
jwtAlg: string;
kind: string;
label: string;
what: string;
}[];
listeners: { brokerApi: any; serverApi: any; workloadApi: any };
ready: boolean;
serverId: string;
settings: { key: string; value: any }[];
trustDomain: string;
trustDomainId: string;
workloadAttestation: any;
}
-
Returns {
authentication: {
acceptAssertedSelectors: boolean;
adminIds: string[];
assertedSelectorHeader: string;
attestWorkloads: boolean;
bootstrapping: string;
credentialStatusNote: string;
enforced: boolean;
entities: { id: string; label: string; what: string }[];
identityNote: string;
policy: { allow: string[]; method: string }[];
trustLocalSocket: boolean;
what: string;
};
authorities: {
chainSubjects: any;
jwt: any;
maxRetained: any;
realm: string;
root: { certificatePem: any; notAfter: any; subject: any };
source: any;
trustAnchors: any;
x509: {
active: boolean;
certificatePem: any;
createdAt: any;
id: any;
keyType: any;
notAfter: any;
notBefore: any;
serialHex: any;
source: any;
subject: any;
}[];
};
bundle: { path: any; refreshHint: any; sequence: number };
counts: {
agents: any;
entries: any;
maxAgents: any;
maxEntries: any;
maxFederatedBundles: any;
};
enabled: boolean;
error: any;
federated: {
bundleEndpointProfile: any;
bundleEndpointUrl: any;
createdAt: any;
endpointSpiffeId: any;
jwtKeys: any;
keys: any;
refreshHint: any;
sequence: any;
trustDomain: any;
trustDomainId: string;
updatedAt: any;
x509Keys: any;
}[];
keyTypes: {
id: string;
jwtAlg: string;
kind: string;
label: string;
what: string;
}[];
listeners: { brokerApi: any; serverApi: any; workloadApi: any };
ready: boolean;
serverId: string;
settings: { key: string; value: any }[];
trustDomain: string;
trustDomainId: string;
workloadAttestation: any;
}
the JSON
Builds
/admin/spiffe's JSON: the trust domain page.