lib/IO/K8s/ExternalSecrets/V1/VaultAppRole.pm

filter: Statementstmt 100% 9 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 10 / 10 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« lib/IO/K8s/ExternalSecrets/V1/UniversalAuthCredentials.pm ↑ Summary lib/IO/K8s/ExternalSecrets/V1/VaultAuth.pm »
1 package IO::K8s::ExternalSecrets::V1::VaultAppRole;
2 # ABSTRACT: AppRole authenticates with Vault using the App Role auth mechanism, with the role and secret stored in a Kubernetes Secret resource.
3 2 our $VERSION = '1.112';
4 2 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 k8s path => Str, { required => 'schema', default => 'approle' };
7 2 k8s roleId => Str;
8 2 k8s roleRef => '+IO::K8s::ExternalSecrets::V1::SecretKeySelector';
9 2 k8s secretRef => '+IO::K8s::ExternalSecrets::V1::SecretKeySelector', { required => 'schema' };
10  
11  
12  
13  
14  
15 2 1;
16  
17 __END__
« lib/IO/K8s/ExternalSecrets/V1/UniversalAuthCredentials.pm ↑ Summary lib/IO/K8s/ExternalSecrets/V1/VaultAuth.pm »