e Signer::AWSv4::EKS;
use Moo;
extends 'Signer::AWSv4';
use Types::Standard qw/Str/;
use JSON::MaybeXS qw//;
use MIME::Base64 qw//;
has prefix => (is => 'ro', init_arg => undef, isa => S
elf->qstring_64;
});
has k8s_json => (is => 'ro', isa => Str, init_arg => undef, lazy => 1, default => sub {
my $self = shift;
JSON::MaybeXS::encode_json({
kind => 'ExecCredential',
ubernetes cluster (via Authorization header or kubectl --token)
=head2 k8s_json
This wraps the token in the appropiate JSON output for using the token as kubectl pluggable
authentication module
=h