class Amazonite::SecretsManager::Filter

Overview

Allows you to add filters when you use the search function in Secrets Manager. For more information, see Find secrets in Secrets Manager.

Included Modules

Defined in:

secrets_manager/filter.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(key : FilterNameStringType | Nil = nil, values : Array(String) | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def key : FilterNameStringType | Nil #

The following are keys you can use:

  • description: Prefix match, not case-sensitive.

  • name: Prefix match, case-sensitive.

  • tag-key: Prefix match, case-sensitive.

  • tag-value: Prefix match, case-sensitive.

  • primary-region: Prefix match, case-sensitive.

  • owning-service: Prefix match, case-sensitive.

  • all: Breaks the filter value string into words and then searches all attributes for matches. Not case-sensitive.


[View source]
def key=(key : FilterNameStringType | Nil) #

The following are keys you can use:

  • description: Prefix match, not case-sensitive.

  • name: Prefix match, case-sensitive.

  • tag-key: Prefix match, case-sensitive.

  • tag-value: Prefix match, case-sensitive.

  • primary-region: Prefix match, case-sensitive.

  • owning-service: Prefix match, case-sensitive.

  • all: Breaks the filter value string into words and then searches all attributes for matches. Not case-sensitive.


[View source]
def validate! : Nil #

[View source]
def values : Array(String) | Nil #

The keyword to filter for.

You can prefix your search value with an exclamation mark (!) in order to perform negation filters.


[View source]
def values=(values : Array(String) | Nil) #

The keyword to filter for.

You can prefix your search value with an exclamation mark (!) in order to perform negation filters.


[View source]