Skip to content

filters in user.authorizedkeys are not working #2223

@atomic111

Description

@atomic111

i want to test that a ssh public key is configured for a user

user(name: "patrick").authorizedkeys.all( key == 'AA....NzaC1yc2EAAAADAQABAAABAQDgwD..../')

[failed] authorizedkeys.all()
  error: Failed to create filter result resource: rpc error: code = Unknown desc = failed to add cached authorizedkeys (id: aEENANls7Gs=2), creation failed: [os] cannot set 'file' in resource 'authorizedkeys', type does not match

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingp2Priority 2

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions